/**
 * <copyright>
 * </copyright>
 *
 * $Id$
 */
package ar.edu.utn.frsf.cidisi.ginet.impl;

import org.eclipse.emf.ecore.EClass;
import org.pnml.tools.epnk.pnmlcoremodel.PetriNetType;
import org.pnml.tools.epnk.pntypes.hlpng.pntd.hlpngdefinition.impl.HLPNGImpl;

import ar.edu.utn.frsf.cidisi.ginet.GINetType;
import ar.edu.utn.frsf.cidisi.ginet.GinetFactory;
import ar.edu.utn.frsf.cidisi.ginet.GinetPackage;

/**
 * <!-- begin-user-doc -->
 * An implementation of the model object '<em><b>GI Net Type</b></em>'.
 * <!-- end-user-doc -->
 * <p>
 * </p>
 *
 * @generated
 */
public class GINetTypeImpl extends HLPNGImpl implements GINetType {
	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public GINetTypeImpl() {
		super();
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	protected EClass eStaticClass() {
		return GinetPackage.Literals.GI_NET_TYPE;
	}
	
	@Override
	public String toString() {
		return "org.pnml.tools.epnk.pntypes.ginet";
	}

	/**
	 * A null pointer exception occurs if this method is not overridden.- 
	 * 
	 * @generated NOT
	 * @author jmr
	 */
	@Override
	public GINetType createPetriNetType() {
		return GinetFactory.eINSTANCE.createGINetType();
	}
	
	/**
	 * A null pointer exception occurs if this method is not overridden.- 
	 * 
	 * @generated NOT
	 * @author jmr
	 */
	@Override
	public PetriNetType createPetriNetType(String type) {
		if (type.equals(this.toString())) {
			return createPetriNetType();
		}
		return null;
		
	}



} //GINetTypeImpl
